// index.js
const defaultAvatarUrl = 'https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0'

Page({
  data:{
    Imagedatas:[
      {"id":1,"url":"/pages/images/tap-1.jpg"},
      {"id":2,"url":"/pages/images/tap-2.jpg"},
      {"id":3,"url":"/pages/images/tap-3.jpg"}
    ],
    TuBiao:[
      { "url":"/pages/images/tubiao-1.png","method":"clickno1"},
      { "url":"/pages/images/tubiao-2.png","method":"clickno2"},
      { "url":"/pages/images/tubiao-3.png","method":"clickno3"},
      { "url":"/pages/images/tubiao-4.png","method":"clickno4"},
      { "url":"/pages/images/tubiao-5.png","method":"clickno5"},
    ]
  },

  // 点击跳转
  clickno1(){
    console.log('1111');
    wx.navigateTo({
      url: '/pages/Brandintroduction/Brandintroduction',
      success(res) {
        // 跳转成功\
        console.log('跳转成功');
      },
      fail(err) {
        // 跳转失败（如页面不存在或栈溢出）
        console.log('跳转失败');
      }
    })
  },
  clickno2(){
    console.log('222');
    wx.navigateTo({
      url:"/pages/Corporatehonors/Corporatehonors"
    })
  },
  clickno3(){
    console.log('333');
    wx.navigateTo({
      url:"/pages/Excellentwork/Excellentwork"
    })
  },
  clickno4(){
    console.log('444');
    wx.navigateTo({
      url:"/pages/ITTC/ittc"
    })
  },
  clickno5(){
    console.log('555');
    wx.navigateTo({
      url:"/pages/More/more"
    })
  }
  //点击跳转结束
})
